//
//  ZYBaseTableViewCell.swift
//  ZYUICommon
//
//  Created by Yi Zhou on 2025/1/9.
//

import Foundation
import UIKit

open class ZYBaseTableViewCell: UITableViewCell {
    
    public lazy var singLine: UIView = {
        return UIView(frame: CGRect(x: 0, y: self.bounds.height - 0.5, width: self.bounds.width, height: 0.5)).zyBackgroundColor(ZYUtil.colorWithHex("#E6E6E6"))
    }()
    
    public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.selectionStyle = .none
        self.backgroundColor = .white
        contentView.addSubview(singLine)
    }
    
    required public init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
